package org.mall.modules.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.mall.modules.member.entity.MemberShopCollectionDO;
import org.mall.modules.pojo.member.MemberShopCollectionBO;

/***
 *@author yinxucun
 *@date 2019-12-28 13:50 
 */
public interface IMemberShopCollectionService extends IService<MemberShopCollectionDO> {
    IPage<MemberShopCollectionBO> getListByUserId(Page page, String userId);

    Boolean removeUserFavorite(String userId, String shopId);

    Boolean hasUserSpuFavorite(String userIdByToken, String shopId);
}
